// var i;
// var n;
// var a;
// exports.Define = exports.Macro = void 0;
// (a = exports.Macro || (exports.Macro = {})).BUNDLE_RESOURCES = "resources";
// a.BUNDLE_HALL = "GameHome";
// a.CHANGE_LANGUAGE = "Event_CHANGE_LANGUAGE";
// a.CHANGE_MUSIC_EVENT = "CHANGE_MUSIC_EVENT";
// a.CHANGE_SFX_EVENT = "CHANGE_SFX_EVENT";
// a.CHANGE_VIBRATE_EVENT = "CHANGE_VIBRATE_EVENT";
// a.UNKNOWN = "UNKNOWN";
// a.BUNDLE_REMOTE = "__Remote__Caches__";
// a.ENTER_BACKGROUND = "ENTER_BACKGROUND";
// a.ENTER_FORGEGROUND = "ENTER_FORGEGROUND";
// i = exports.Define || (exports.Define = {});
// (n = i.CacheMode || (i.CacheMode = {}))[(n.Once = 1)] = "Once";
// n[(n.Normal = 2)] = "Normal";
// n[(n.Frequent = 3)] = "Frequent";


/**
 * @enum {string} Macro - 游戏宏定义
 */
const Macro = {
    BUNDLE_RESOURCES: "resources",
    BUNDLE_HALL: "GameHome",
    CHANGE_LANGUAGE: "Event_CHANGE_LANGUAGE",
    CHANGE_MUSIC_EVENT: "CHANGE_MUSIC_EVENT",
    CHANGE_SFX_EVENT: "CHANGE_SFX_EVENT",
    CHANGE_VIBRATE_EVENT: "CHANGE_VIBRATE_EVENT",
    UNKNOWN: "UNKNOWN",
    BUNDLE_REMOTE: "__Remote__Caches__",
    ENTER_BACKGROUND: "ENTER_BACKGROUND",
    ENTER_FORGEGROUND: "ENTER_FORGEGROUND"
};

exports.Macro = Macro;

/**
 * @enum {number} CacheMode - 缓存模式定义
 */
const CacheMode = {
    Once: 1,
    Normal: 2,
    Frequent: 3
};

/**
 * @namespace Define - 游戏定义
 */
const Define = {
    CacheMode: CacheMode
};

exports.Define = Define;
